package lab02.test35;

/**
 * Created by dell on 2017/11/16.
 */
class Worker extends Employee {
    int days;
    double dailysalary;
    public Worker(String name, int days, double dailysalary) {
        super (name);
        this.days = days;
        this. dailysalary=dailysalary;
    }  public double computesalaryol() {
        return days *dailysalary;
    }

    @Override
    public double computeSalary() {
        return 0;
    }
}

